﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace CLFramework.Caching
{
    public class CacheTimestamp
    {
        public CacheTimestamp() { }
        public CacheTimestamp(IDataReader dr)
        {
            TableName = Convert.ToString(dr["TableName"]);
            RowKey = Convert.ToString(dr["RowKey"]);
            TimeStamp = Convert.ToDateTime(dr["TimeStamp"]);
        }
        public string TableName { get; set; }
        public string RowKey { get; set; }
        public DateTime TimeStamp { get; set; }
    }
}
